package site.lanmushan.framework.mapper.entity;


import site.lanmushan.framework.mapper.annotation.SlashLogicDelete;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * (SysTbDict)实体类
 *
 * @author dy
 * @since 2020-06-14 21:15:02
 */
@Table(name = "sys_tb_dict")
public class SysTbDict {
    private static final long serialVersionUID = -29556091738693085L;

    @Id
    private Long id;
    /**
     * 映射值
     */
    private String dictValue;
    /**
     * 映射名称
     */
    private String dictName;
    /**
     * 映射编码
     */
    private String dictCode;
    /**
     * 所属分组
     */
    private String fkDictGroupCode;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
    /**
     * 禁用
     */
    private Integer disabled;
    /**
     * 创建人
     */
    private String createUserAccount;
    /**
     * 默认
     */
    private Integer isDefault;
    /**
     * 排序
     */
    private Integer orderIndex;
    /**
     * 允许编辑
     */
    private Integer allowEdit;

    private Long deleted;

    @Override
    public String toString() {
        return "SysTbDict{" +
                "id=" + id +
                ", dictValue='" + dictValue + '\'' +
                ", dictName='" + dictName + '\'' +
                ", dictCode='" + dictCode + '\'' +
                ", fkDictGroupCode='" + fkDictGroupCode + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", disabled=" + disabled +
                ", createUserAccount='" + createUserAccount + '\'' +
                ", isDefault=" + isDefault +
                ", orderIndex=" + orderIndex +
                ", allowEdit=" + allowEdit +
                '}';
    }
}